
module.exports = function ($scope, $resource, $modalInstance, info) {

    var para = {
        'group_code': info.code
    }
    $resource('/api/ac/atc/groupService/getForGroupList', {}, {}).save(para, function(res){
        if (res.errcode === 0) {
            $scope.touristList = res.data;
        } else {
            toaster.error({title: '', body: '查询人员名单失败'});
        }
    });
    

    $scope.close = function () {
        $modalInstance.dismiss('cancel');
    }

};